package com.evan.design.creational.simplefactory;

/**
 * @author :liujiapeng01
 * @date :2019-03-21 13:35
 **/
public class Test {
    public static void main(String[] args) {
        Video java = VideoFactory.getVideo(JavaVideo.class);
        java.produce();
        Video python = VideoFactory.getVideo(PythonVideo.class);
        python.produce();
    }
}
